package com.erp.framework.model.vo;

public interface Versionable {
    public static final int INITIAL_UPDATE_VERSION = 0;
    public static final int MAX_UPDATE_VERSION = Integer.MAX_VALUE;

    public int getUpdateVersion();

    public void setUpdateVersion(int updateVersioin);

    public boolean equalsUpdateVersion(int updateVersion);

    public int nextUpdateVersion();

//    public boolean isSameVersion(Versionable obj);

}
